package com.saodisheng.service.impl;


import com.saodisheng.model.SiteInfo;
import com.saodisheng.service.AdminSystemService;
import org.springframework.stereotype.Service;

/**
 * description:
 *
 * @author 扫地生_saodisheng
 * @date 2022/1/29
 */
@Service
public class AdminSystemServiceImpl implements AdminSystemService {
	final SiteInfo siteDao = new SiteInfo().dao();
	
	@Override
	public SiteInfo getSiteInfo() {
		SiteInfo siteInfo = siteDao.findFirst("select * from site_info where id=1");
		
		return siteInfo;
	}
	
}
